﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using DesignerHelper.Commands;
using DesignerHelper.EventHandlers;
using SpreadsheetGear;
using SpreadsheetGear.Printing;
using SpreadsheetGear.Windows.Forms;

namespace DesignerHelper.Main
{
    public interface IBookEditor
    {
        void SetActiveBook(IWorkbook workbook);
        void FileSaveAs();
        void Preview(PrintWhat printWhat);
        void Print(PrintWhat printWhat);
        void SaveFile();
        void ClearRangeSelection(Edit.ClearType type);
        void ClearWorksheet();
        void CopySheet();
        void DeleteActiveWorkSheet();
        void EditCopy();
        void EditCut();
        void EditPaste();
        void FillRange(Edit.FillType type);
        void ReDo();
        void UnDo();
        void InsertOrDeletePageBreaks();
        void InsertWorkSheets();
        void ShowDefineNameDialog();
        void ShowLocateRangeDialog();
        void DefineNamesFromSelection();
        void OpenDeleteCellsDialog();
        void OpenInsertCellsDialog();
        void OpenPasteSpecialDialog();
        event EventHandler<BookSetEventArgs> BookIsModified;
    }
}